package com.itqf.studentinfo.service;

import com.github.pagehelper.PageInfo;
import com.itqf.studentinfo.entity.Student;

import java.util.List;

/**
 * @program: studentinfo
 * @description:
 * @author: Mr.徐
 * @create: 2019-12-05 10:28
 * <p>
 * 人有生老三千疾,唯有相思不可以丶
 */
public interface StudentService {
    PageInfo<Student> queryAll(int currentPage, int pageSize);

    void delete(Integer id);

    int add(Student student);

    PageInfo<Student> find(int currentPage,int pageSize,String name);

    Student findOne(int id);

    int updatestu(Student student);
}
